home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Development
/
General
/
MM3Tp.sea Folder
/
Made by Marksman
/
Sources
/
u
/
About_Demo.p
next >
Wrap
Text File
|
1994-01-16
|
3KB
|
136 lines
unit UAbout_Demo;
{ About_Demo Handle this dialog }
{ Copyright © 1994 George R. Cossey }
{ File name: About_Demo
Function: Handle this modeless dialog.
This dialog is called when:
History: 1/16/94 Original by George Cossey
}
interface
uses
Printing, Folders, Sound,mmCommonMM_Demo,CommonMM_Demo;
{ ======================================================= }
{ ======================================================= }
{ Init the modeless dialog }
procedure U_Init_About_Demo;
{ Moved the modeless dialog }
procedure U_Moved_About_Demo(theDialog:DialogPtr;OldRect:Rect);
{ Update the modeless dialog }
procedure U_Update_About_Demo(theDialog:DialogPtr);
{ Setup the modeless dialog }
procedure U_Setup_About_Demo(theDialog:DialogPtr);
{ Close the modeless dialog }
procedure U_Close_About_Demo(theDialog:DialogPtr);
{ Hit in the modeless dialog }
procedure U_Hit_About_Demo(theDialog:DialogPtr;var itemHit:integer;var ExitDialog:Boolean;var theEvent:EventRecord);
{ ======================================================= }
{ ======================================================= }
implementation
{ ======================================================= }
{ ======================================================= }
{ Routine: U_Init_About_Demo }
{ Purpose: This routine is called while when the program is first run }
{ This is used for onetime initialization }
procedure U_Init_About_Demo;
begin
end;
{ ======================================================= }
{ Routine: U_Moved_About_Demo }
{ Purpose: This routine is called when our window gets moved on the screen, }
{ or to another screen }
procedure U_Moved_About_Demo(theDialog:DialogPtr;OldRect:Rect);
begin
end;
{ ======================================================= }
{ Routine: U_Update_About_Demo }
{ Purpose: This routine is called when our window gets an update event }
procedure U_Update_About_Demo(theDialog:DialogPtr);
begin
end;
{ ======================================================= }
{ Routine: U_Setup_About_Demo }
{ Purpose: This routine is called when our modeless dialog is opened }
procedure U_Setup_About_Demo(theDialog:DialogPtr);
begin
end;
{ ======================================================= }
{ Routine: U_Close_About_Demo }
{ Purpose: This routine is called when our modeless dialog is closed }
procedure U_Close_About_Demo(theDialog:DialogPtr);
begin
end;
{ ======================================================= }
{ Routine: U_Hit_About_Demo }
{ Purpose: Hit in the modeless dialog }
procedure U_Hit_About_Demo(theDialog:DialogPtr;var itemHit:integer;var ExitDialog:Boolean;var theEvent:EventRecord);
var
DType:integer; { Type of dialog item }
DItem:Handle; { Handle to the dialog item }
CItem:ControlHandle; { Control handle }
theSelection:integer; { Palette selection }
begin
{ This is the default selection, when RETURN is pressed. }
if (itemHit = ResD_OK) then { Handle the Button, OK, being pressed }
begin
end;
end;
{ ======================================================= }
{ ======================================================= }
end.